package com.ayuan.blog.dao;

import com.ayuan.blog.bean.TagInfo;
import org.apache.ibatis.annotations.Param;
import org.durcframework.core.dao.BaseDao;
import com.ayuan.blog.domain.ArticleTag;

import java.util.List;

public interface ArticleTagDao extends BaseDao<ArticleTag> {

    int delByArticleId(@Param("articleId") Integer articleId);

    List<ArticleTag> findListByArticleIds(@Param("articleIdList") List<Integer> articleIdList);

    List<TagInfo> findTagInfoList(@Param("limit") Integer limit);
}